package phone

import (
	"hft/Database/admin/user_db"
	"hft/Http/Services/phone"

	"github.com/gin-gonic/gin"
)

type CallLog struct{}

func (ca *CallLog) GetCallLog(c *gin.Context) {

	var data *user_db.PhoneRecord

	c.ShouldBindJSON(&data)
	phone.PhoneCallLogService.Add(data)

	c.JSON(200, gin.H{"message": "success", "result": "200"})
}

var CallLogController = new(CallLog)
